<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form class="form-horizontal" role="form" id="addUserForm">
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">用户名称</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" id="username" name="pname" placeholder="请输入用户名">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">角色</label>
        <div class="col-sm-5">
            <select name="roleId">
                <option value="-1">--请选择--</option>
                <option th:each="role : ${rlist}" th:value="${role.roleId}">[[${role.roleName}]]</option>
            </select>
        </div>
    </div>
</form>
</body>
</html>